/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_log_info.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_LOG_INFO
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_log_info.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h" 

CTable_PPM_LOG_INFO::CTable_PPM_LOG_INFO( )
 :NPCRecordSet( )
{
  setTableName( "PPM_LOG_INFO" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID );
  STAFF_ID.setField( "STAFF_ID", DATA_CHAR, 60, 0 );
  makeTableItem( STAFF_ID );
  IP_ADDRESS.setField( "IP_ADDRESS", DATA_CHAR, 20, 0 );
  makeTableItem( IP_ADDRESS );
  OP_TIME.setField( "OP_TIME", DATA_DATETIME, 7, 0 );
  makeTableItem( OP_TIME );
  OP_OBJECT.setField( "OP_OBJECT", DATA_CHAR, 60, 0 );
  makeTableItem( OP_OBJECT );
  OP_RESULT.setField( "OP_RESULT", DATA_CHAR, 500, 0 );
  makeTableItem( OP_RESULT );
  CREATE_DATE.setField( "CREATE_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( CREATE_DATE );
  MODIFY_DATE.setField( "MODIFY_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( MODIFY_DATE );
  STATE.setField( "STATE", DATA_CHAR, 10, 0 );
  makeTableItem( STATE );
  REMARK.setField( "REMARK", DATA_CHAR, 500, 0 );
  makeTableItem( REMARK );
  APP_OBJ.setField( "APP_OBJ", DATA_CHAR, 512, 0 );
  makeTableItem( APP_OBJ );
  APP_CODE.setField( "APP_CODE", DATA_CHAR, 30, 0 );
  makeTableItem( APP_CODE );
}


CTable_PPM_LOG_INFO::CTable_PPM_LOG_INFO( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_LOG_INFO" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID );
  STAFF_ID.setField( "STAFF_ID", DATA_CHAR, 60, 0 );
  makeTableItem( STAFF_ID );
  IP_ADDRESS.setField( "IP_ADDRESS", DATA_CHAR, 20, 0 );
  makeTableItem( IP_ADDRESS );
  OP_TIME.setField( "OP_TIME", DATA_DATETIME, 7, 0 );
  makeTableItem( OP_TIME );
  OP_OBJECT.setField( "OP_OBJECT", DATA_CHAR, 60, 0 );
  makeTableItem( OP_OBJECT );
  OP_RESULT.setField( "OP_RESULT", DATA_CHAR, 500, 0 );
  makeTableItem( OP_RESULT );
  CREATE_DATE.setField( "CREATE_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( CREATE_DATE );
  MODIFY_DATE.setField( "MODIFY_DATE", DATA_DATETIME, 7, 0 );
  makeTableItem( MODIFY_DATE );
  STATE.setField( "STATE", DATA_CHAR, 10, 0 );
  makeTableItem( STATE );
  REMARK.setField( "REMARK", DATA_CHAR, 500, 0 );
  makeTableItem( REMARK );
  APP_OBJ.setField( "APP_OBJ", DATA_CHAR, 512, 0 );
  makeTableItem( APP_OBJ );
  APP_CODE.setField( "APP_CODE", DATA_CHAR, 30, 0 );
  makeTableItem( APP_CODE );
}

CTable_PPM_LOG_INFO::~CTable_PPM_LOG_INFO( )
{
    close();
}

